package com.jic.order.mapper;
import java.util.List;
import com.jic.order.model.entity.MOrderGoods;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MOrderGoodsMapper {
	/**
	 * M_ORDER_GOODS插入数据
	 * @param mOrderGoods 入参实体类
	 */
	int insert (MOrderGoods mOrderGoods);

	/**
	 * M_ORDER_GOODS插入数据
	 * @param mOrderGoods 入参实体类
	 */
	int insertSelective (MOrderGoods mOrderGoods);

	/**
	 * M_ORDER_GOODS根据表对象数据修改数据
	 * @param mOrderGoods 入参实体类
	 */
	int updateByPrimaryKey (MOrderGoods mOrderGoods);

	/**
	 * M_ORDER_GOODS根据表对象数据修改数据
	 * @param mOrderGoods 入参实体类
	 */
	int updateByPrimaryKeySelective (MOrderGoods mOrderGoods);

	/**
	 * M_ORDER_GOODS根据id删除数据
	 * @param mOrderGoods 入参实体类
	 */
	int deleteByPrimaryKey (MOrderGoods mOrderGoods);

	/**
	 * M_ORDER_GOODS根据主键查询数据
	 * @param mOrderGoods 入参实体类
	 */
	MOrderGoods selectByPrimaryKey (MOrderGoods mOrderGoods);

	/**
	 * M_ORDER_GOODS根据主键查询数据
	 * @param mOrderGoods 入参实体类
	 */
	List<MOrderGoods> listPageBySelective (MOrderGoods mOrderGoods);

	/**
	 * M_ORDER_GOODS查询数据
	 * @param mOrderGoods 入参实体类
	 */
	List<MOrderGoods>  selectBySelective (MOrderGoods mOrderGoods);

	}
